<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>智能进出口服务平台</title>
  <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no"/>
  <link rel="shortcut icon" type="image/x-icon" href="/images/logo.ico" />
  <link rel="stylesheet" href="/css/jquery-ui-1.9.2.custom.css?v=201810182111"/>
  <link rel="stylesheet" href="/layui/css/layui.css?v=201810182111"/>
  <link rel="stylesheet" href="/css/font-awesome.min.css?v=201810182111"/>
  <link rel="stylesheet" href="/css/style.css?v=201810182111"/>
  <link rel="stylesheet" href="/declare/css/jquery.autocompleter.css?v=202006051337" />
  <link rel="stylesheet" href="/declare/css/declare.css?v=202010161602"/>
  <style type="text/css">
    .bg-green{
      background-color: #90ee90;
      color: #000000;
      padding: 0 4px;
    }
    .bg-red{
      background-color: #ff4500;
      color: #FFFFFF;
      padding: 0 4px;
    }
    .bg-blue{
      background-color: #00ffff;
      color: #000000;
      padding: 0 4px;
    }
    .bg-yellow{
      background-color: #f7f910;
      color: #000000;
      padding: 0 4px;
    }
    .bg-orange{
      background-color: #f7bb43;
      color: #000000;
      padding: 0 4px;
    }
    table.dec-info td:first-child {
      width: 74px;
    }
  </style>
</head>
<body class="zmark-body bg-white">
<div class="layui-card" style="margin-bottom: 0px;">
  <div class="layui-card-body">
    <form class="layui-form" method="post" id="splitOrderForm" lay-filter="splitOrderForm" onsubmit="return false">
      <div class="layui-btn-group">
        <button type="button" class="layui-btn layui-btn-primary layui-btn-xs prohibit-btn" id="importOrder">
          <i class="fa fa-cloud-upload"></i>导入
        </button>
        <a type="button" class="layui-btn layui-btn-primary layui-btn-xs prohibit-btn" href="/online/temp/拆单模板.xlsx" target="_blank">
          <i class="fa fa-cloud-download"></i>做单模板
        </a>
      </div>
      <input type="hidden" id="id" name="id"/>
      <span style="margin-left: 10px;">
      最大总价：<input type="text" class="layui-input" style="height: 22px;width: 70px;display: inline-block;padding: 0 4px" name="maxPrice" value="10000" NUMBER/>
    </span>
      <span style="margin-left: 10px;">
      过磅重量（KGS）：<input type="text" class="layui-input" style="height: 22px;width: 70px;display: inline-block;padding: 0 4px" name="weighing" value="" NUMBER-NC/>
    </span>
      <span style="margin-left: 10px;">
      包裹限重（KGS）：<input type="text" class="layui-input" style="height: 22px;width: 70px;display: inline-block;padding: 0 4px" name="weightLimit" value="" NUMBER-NC/>
    </span>
    <span style="margin-left: 10px;">
       <input type="checkbox" lay-skin="primary" title="按千克申报" lay-filter="weightFlag-choice"/>
    </span>
      <div class="layui-btn-select" style="width: 120px">
        <select id="templateCode" name="templateCode">
          <option value="TEMP_01">恒美(前海)</option>
          <option value="TEMP_02">普尔诺(前海)</option>
          <option value="TEMP_03">澳洛(前海)</option>
          <option value="TEMP_04">淘红(前海)</option>
          <option value="TEMP_05">再博度(前海)</option>
          <option value="TEMP_06">九州里(前海)</option>
          <option value="TEMP_07">盈广(前海)</option>
        </select>
      </div>
      <div class="layui-btn-group" style="margin-left: 6px">
        <button type="button" class="layui-btn layui-btn-primary layui-btn-xs prohibit-btn" id="splitAgain">
          <i class="fa fa-retweet"></i>重新拆分
        </button>

        <button type="button" class="layui-btn layui-btn-primary layui-btn-xs prohibit-btn" id="export">
          <i class="fa fa-file-excel-o"></i>导出报文
        </button>

        <button type="button" class="layui-btn layui-btn-primary layui-btn-xs prohibit-btn" id="exportNew">
          <i class="fa fa-file-excel-o"></i>导出报文(新)
        </button>

      </div>
    </form>
    <div class="layui-row">
      <div class="layui-col-sm2" style="padding: 2px;">
        <form class="layui-form" method="post" id="vehicleDeclareForm" lay-filter="vehicleDeclareForm" onsubmit="return false">
          <fieldset class="layui-elem-field layui-field-title res-layui-elem-field">
            <legend>做单信息</legend>
          </fieldset>
          <div class="layui-btn-group">
            <button type="button" class="layui-btn layui-btn-primary layui-btn-xs prohibit-btn" id="createOrder">
              <i class="fa fa-mail-forward"></i>生成订单
            </button>
          </div>
          <table class="dec-info" style="width: 100%;min-width: 10px;">
            <tbody>
            <tr>
              <td colspan="1" class="label">客户名称</td>
              <td colspan="3">
                <input type="hidden" id="customerId" name="customerId"/>
                <input class="dec-input auto-customer required" name="customerName" id="customerName"/>
              </td>
            </tr>
            <tr>
              <td colspan="1" class="label">整车头</td>
              <td colspan="3">
                <input type="hidden" id="vehicleHeadId" name="vehicleHeadId"/>
                <input class="dec-input required" name="vehicleHeadName" id="vehicleHeadName"/>
              </td>
            </tr>
            <tr>
              <td colspan="1" class="label">提运单号</td>
              <td colspan="3">
                <input class="dec-input" name="billNo" id="billNo"/>
              </td>
            </tr>
            <tr>
              <td colspan="1" class="label">车牌</td>
              <td colspan="3">
                <input type="hidden" id="carInfoId" name="carInfoId"/>
                <input class="dec-input required" name="trafName" id="trafName"/>
              </td>
            </tr>
            </tbody>
          </table>
        </form>
      </div>
      <div class="layui-col-sm7 tab-normal" style="padding: 2px;">
        <fieldset class="layui-elem-field layui-field-title res-layui-elem-field">
          <legend>导入的原始数据</legend>
        </fieldset>
        <div class="layui-btn-group">
          <button type="button" class="layui-btn layui-btn-primary layui-btn-xs prohibit-btn" id="importDatasDelete">删除商品</button>
        </div>
        <form class="layui-form" method="post" id="splitOrderImportForm" lay-filter="splitOrderImportForm" onsubmit="return false">
          <div class="layui-row" id="import-datas-area">
            <table class="layui-hide" id="import-datas-list" lay-filter="import-datas-list"></table>
          </div>
        </form>
      </div>
      <div class="layui-col-sm3 tab-normal" style="padding: 2px;">
        <fieldset class="layui-elem-field layui-field-title res-layui-elem-field">
          <legend>不存在品名分析</legend>
        </fieldset>
        <div class="layui-btn-group">
          <button type="button" class="layui-btn layui-btn-primary layui-btn-xs prohibit-btn" id="noAnalysisReplace">替换品名</button>
          <button type="button" class="layui-btn layui-btn-primary layui-btn-xs prohibit-btn" id="noAnalysisAdd">新增商品</button>
          <button type="button" class="layui-btn layui-btn-primary layui-btn-xs prohibit-btn" id="noAnalysisDelete">删除品名</button>
        </div>
        <div class="layui-row" id="no-analysis-area">
          <table class="layui-hide" id="no-analysis-list" lay-filter="no-analysis-list"></table>
        </div>
      </div>
    </div>
    <div class="layui-row">
      <div class="layui-col-sm12">
        <fieldset class="layui-elem-field layui-field-title res-layui-elem-field">
          <legend>导入数据分析</legend>
          <div class="order-members-tool border-box">
            <div class="group">
              <div class="group processing">总条数：<span id="totalQty">0</span></div>
              <div class="group processing">包裹数：<span id="packageNum">0</span></div>
              <div class="group processing">价格比例：<span id="priceRatio">0%</span></div>
              <a href="javascript:" class="group success-color" id="errorNum">错误数：0</a>
            </div>

            <div class="group">
              <input class="dec-input" id="keyword" placeholder="品名/海关编码"/>
            </div>

            <div class="group">
              <span style="margin-left: 10px;" class="layui-form">
                 <input type="checkbox" lay-skin="primary" title="包含错误信息" lay-filter="error-choice"/>
              </span>
            </div>

            <div class="group">
                <button type="button" class="layui-btn layui-btn-primary layui-btn-xs search-btn">
                  <i class="fa fa-search"></i>查询
                </button>
            </div>

          </div>
        </fieldset>
        <div class="tab-normal">
          <table class="layui-hide" id="split-order-members-list" lay-filter="split-order-members-list"></table>
        </div>
      </div>
    </div>
  </div>
</div>
<script type="text/html" id="declareNameTemp">
  <div class="{{degreeClass(d.degree)}}">{{d.declareName}}</div>
</script>
<script type="text/html" id="degreeTemp">
  <div class="{{degreeClass(d.degree)}}">{{(Math.round(d.degree*10000)/100)+'%'}}</div>
</script>
<script type="text/html" id="replaceNameTemp">
  <div class="{{(d.replaceName != d.clearName)?'bg-orange':''}}">{{d.replaceName}}</div>
</script>

<script type="text/html" id="waybillNoTemp">
  <input type="hidden" name="id" value="{{d.id}}" LIST>
  <input type="text" class="dec-input required" name="waybillNo" value="{{d.waybillNo}}" LIST/>
</script>
<script type="text/html" id="goodsNameTemp">
  <input type="text" class="dec-input required" name="goodsName" value="{{d.goodsName}}" LIST/>
</script>
<script type="text/html" id="numberTemp">
  <input type="text" class="dec-input required" name="number" value="{{d.number}}" INT LIST/>
</script>
<script type="text/html" id="grossWeightTemp">
  <input type="text" class="dec-input required" name="grossWeight" value="{{d.grossWeight}}" NUMBER LIST/>
</script>

<script type="text/javascript" src="/js/jquery.min.js?v=201810311445"></script>
<script type="text/javascript" src="/js/jquery-ui-1.9.2.custom.min.js?v=201810311445"></script>
<script type="text/javascript" src="/layui/layui.js?v=201810311445"></script>
<script type="text/javascript" src="/My97DatePicker/WdatePicker.js?v=201810311445"></script>
<script type="text/javascript" src="/declare/js/jquery.autocompleter.min.js?v=201810311445"></script>
<script type="text/javascript" src="/js/app.js?v=202007161855"></script>
<script type="text/javascript" src="/js/autocomplete.js?v=201810182111"></script>
<script type="text/javascript" src="/online/js/shortcut-key.js?v=202007071635"></script>
<script type="text/javascript" src="/online/js/vehicle.autocompleter.js?v=202007081810"></script>
<script type="text/javascript" src="/online/split/index.js?v=202106301042001"></script>
</body>
</html>